<template>
  <div class="contract-container">
    <el-card class="contract-card">
      <template #header>
        <div class="card-header">
          <span>合约交易</span>
        </div>
      </template>
      <div class="contract-content">
        <div class="rounded border border-border bg-surface-elevated p-3 text-black"><p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">您开始交易至今已过去 11427 分钟。当前时间为 2025-10-30 11:36:27.686471，您已被调用 4418 次。下方为您提供各种状态数据、价格数据和预测信号，助您发掘超额收益。下方是您当前的账户信息，包括账户价值、业绩、持仓等。</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">以下所有价格或信号数据均按以下顺序排列：最早 → 最新</font></font></span></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">时间周期说明：</font></font></span><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">除非章节标题另有说明，盘中数据均以</font></font><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">3 分钟为间隔</font></font></span><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">提供。如果某只币种采用不同的时间间隔，则会在该币种的章节中明确说明。</font></font></p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">所有加密货币的当前市场状况</font></font></h3>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">所有比特币数据</font></font></h3>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">当前价格 = 110086.5，当前20日均线 = 110080.398，当前MACD = -55.966，当前RSI（7周期） = 52.503</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">此外，以下是最新BTC未平仓合约量和资金费率（针对您交易的合约）：</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">未平仓合约：最新：35038.9 平均：34994.97</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">融资利率：1.25e-05</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">日内序列（按分钟排列，最早→最新）：</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">中间价位：[110114.5, 110074.0, 110057.5, 109884.0, 109964.0, 109962.0, 110084.0, 110012.0, 109967.0, 110086.5]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">EMA 指标（20 周期）：[110173.24, 110164.741, 110152.099, 110132.089, 110115.414, 110101.47, 110097.616, 110091.367, 110081.808, 110080.398]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">MACD 指标：[-45.004, -46.448, -51.199, -61.517, -67.703, -70.821, -65.117, -62.22, -62.512, -55.966]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（7 周期）：[37.682, 37.549, 30.92, 22.795, 26.548, 29.736, 49.385, 44.78, 38.811, 52.503]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（14 周期）：[42.308, 42.25, 39.278, 34.724, 36.055, 37.159, 44.996, 43.168, 40.654, 46.835]</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">更长期的背景（4 小时时间范围）：</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">20周期EMA：112401.943 vs. 50周期EMA：112051.471</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">3周期ATR：784.58 vs. 14周期ATR：675.804</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">当前成交量：45.224，平均成交量：4497.571</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">MACD 指标：[887.487, 718.483, 558.021, 511.858, 434.439, 229.869, 23.418, -199.623, -319.606, -361.147]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（14 周期）：[53.857, 47.475, 45.685, 53.799, 50.453, 39.954, 37.331, 33.967, 39.054, 43.42]</font></font></p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">所有以太坊数据</font></font></h3>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">当前价格 = 3895.25，当前20日均线 = 3891.347，当前MACD = -1.821，当前RSI（7周期） = 66.719</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">此外，以下是 ETH 的最新未平仓合约量和资金费率：</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">未平仓合约：最新：450844.68 平均：450918.69</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">融资利率：1.25e-05</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">日内序列（3分钟间隔，最早→最新）：</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">中间价位：[3886.65, 3883.2, 3883.7, 3881.55, 3887.35, 3889.45, 3891.75, 3890.05, 3889.65, 3895.25]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">EMA 指标（20 周期）：[3894.423, 3893.535, 3892.465, 3891.659, 3891.139, 3891.059, 3891.016, 3890.938, 3890.963, 3891.347]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">MACD 指标：[-2.972, -3.34, -3.813, -4.005, -3.935, -3.507, -3.108, -2.793, -2.433, -1.821]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（7 周期）：[27.595, 29.838, 25.532, 32.438, 40.736, 53.227, 54.054, 52.607, 56.038, 66.719]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（14 周期）：[38.221, 39.012, 36.654, 39.063, 42.13, 47.439, 47.816, 47.329, 48.737, 53.791]</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">更长期的背景（4 小时时间范围）：</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">20周期EMA：4001.524 vs. 50周期EMA：3998.713</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">3周期ATR：24.626 vs. 14周期ATR：32.679</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">当前成交量：25.69，平均成交量：92597.663</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">MACD 指标：[39.812, 27.194, 18.897, 14.064, 9.105, 0.057, -9.233, -17.676, -21.871, -24.318]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（14 周期）：[47.938, 41.233, 44.407, 47.438, 45.985, 39.483, 37.029, 35.654, 39.859, 40.965]</font></font></p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">所有SOL数据</font></font></h3>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">当前价格 = 192.375，当前 20 日均线 = 192.153，当前 MACD = -0.037，当前 RSI（7 周期）= 63.467</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">此外，以下是最新的SOL未结案件数量和罪犯融资率：</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">未平仓合约：最新：5142823.94 平均：5138465.86</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">融资利率：1.25e-05</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">日内序列（3分钟间隔，最早→最新）：</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">SOL 中间价：[192.0, 191.88, 191.935, 191.56, 192.095, 192.05, 192.395, 192.215, 192.135, 192.375]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">EMA 指标（20 周期）：[192.168, 192.156, 192.125, 192.091, 192.095, 192.093, 192.111, 192.121, 192.129, 192.153]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">MACD 指标：[-0.172, -0.16, -0.166, -0.174, -0.149, -0.131, -0.1, -0.081, -0.064, -0.037]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（7 周期）：[39.491, 47.587, 39.894, 37.854, 54.234, 52.013, 59.713, 56.041, 56.041, 63.467]</font></font></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">RSI 指标（14 周期）：[41.968, 45.558, 42.094, 41.131, 48.708, 47.788, 51.717, 50.291, 50.291, 53.874]</font></font></p>
<p><span class="font-semibold"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">更长期的背景（4 小时时间范围）：</font></font></span></p>
<p>20‑Period EMA: 196.397 vs. 50‑Period EMA: 195.048</p>
<p>3‑Period ATR: 2.085 vs. 14‑Period ATR: 2.051</p>
<p>Current Volume: 1281.0 vs. Average Volume: 740918.156</p>
<p>MACD indicators: [1.808, 1.298, 0.876, 0.665, 0.758, 0.621, 0.25, 0.016, 0.07, 0.016]</p>
<p>RSI indicators (14‑Period): [46.313, 44.271, 44.095, 48.121, 55.216, 49.679, 43.655, 45.318, 51.432, 49.046]</p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400">ALL BNB DATA</h3>
<p>current_price = 1115.85, current_ema20 = 1117.69, current_macd = 0.302, current_rsi (7 period) = 37.075</p>
<p>In addition, here is the latest BNB open interest and funding rate for perps:</p>
<p>Open Interest: Latest: 67576.16  Average: 67581.64</p>
<p>Funding Rate: 1.25e-05</p>
<p><span class="font-semibold">Intraday series (3‑minute intervals, oldest → latest):</span></p>
<p>BNB mid prices: [1120.45, 1120.65, 1119.95, 1119.45, 1118.9, 1118.6, 1116.1, 1115.7, 1114.7, 1115.85]</p>
<p>EMA indicators (20‑period): [1118.723, 1118.845, 1118.983, 1119.004, 1119.032, 1118.953, 1118.567, 1118.256, 1117.889, 1117.69]</p>
<p>MACD indicators: [2.873, 2.661, 2.488, 2.236, 2.022, 1.743, 1.241, 0.866, 0.49, 0.302]</p>
<p>RSI indicators (7‑Period): [53.947, 49.687, 51.902, 43.675, 44.607, 36.799, 22.819, 26.754, 23.596, 37.075]</p>
<p>RSI indicators (14‑Period): [58.145, 56.272, 57.017, 53.421, 53.706, 50.066, 41.072, 42.422, 40.19, 45.034]</p>
<p><span class="font-semibold">Longer‑term context (4‑hour timeframe):</span></p>
<p>20‑Period EMA: 1119.368 vs. 50‑Period EMA: 1120.974</p>
<p>3‑Period ATR: 6.544 vs. 14‑Period ATR: 9.427</p>
<p>Current Volume: 12.105 vs. Average Volume: 8666.711</p>
<p>MACD indicators: [5.402, 2.262, -0.056, -0.867, -1.716, -3.589, -4.035, -4.554, -4.143, -3.718]</p>
<p>RSI indicators (14‑Period): [49.06, 39.45, 40.446, 46.165, 45.128, 39.828, 45.348, 44.386, 48.567, 48.868]</p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400">ALL XRP DATA</h3>
<p>current_price = 2.55145, current_ema20 = 2.553, current_macd = -0.002, current_rsi (7 period) = 45.992</p>
<p>In addition, here is the latest XRP open interest and funding rate for perps:</p>
<p>Open Interest: Latest: 50998528.0  Average: 50997895.6</p>
<p>Funding Rate: 1.25e-05</p>
<p><span class="font-semibold">Intraday series (3‑minute intervals, oldest → latest):</span></p>
<p>XRP mid prices: [2.552, 2.552, 2.551, 2.55, 2.553, 2.551, 2.552, 2.551, 2.55, 2.55145]</p>
<p>EMA indicators (20‑period): [2.555, 2.555, 2.554, 2.554, 2.554, 2.554, 2.553, 2.553, 2.553, 2.553]</p>
<p>MACD indicators: [-0.002, -0.002, -0.002, -0.002, -0.002, -0.002, -0.002, -0.002, -0.002, -0.002]</p>
<p>RSI indicators (7‑Period): [40.79, 49.517, 42.251, 44.323, 48.624, 40.276, 44.166, 43.75, 38.658, 45.992]</p>
<p>RSI indicators (14‑Period): [39.259, 43.527, 40.465, 41.429, 43.404, 40.059, 41.741, 41.584, 39.655, 42.526]</p>
<p><span class="font-semibold">Longer‑term context (4‑hour timeframe):</span></p>
<p>20‑Period EMA: 2.602 vs. 50‑Period EMA: 2.565</p>
<p>3‑Period ATR: 0.023 vs. 14‑Period ATR: 0.022</p>
<p>Current Volume: 10044.0 vs. Average Volume: 7767675.072</p>
<p>MACD indicators: [0.035, 0.03, 0.026, 0.025, 0.025, 0.023, 0.018, 0.011, 0.007, 0.005]</p>
<p>RSI indicators (14‑Period): [59.818, 51.594, 52.999, 58.57, 61.27, 54.893, 46.275, 40.519, 46.036, 47.405]</p>
<hr>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400">ALL DOGE DATA</h3>
<p>current_price = 0.188685, current_ema20 = 0.189, current_macd = -0.0, current_rsi (7 period) = 56.799</p>
<p>In addition, here is the latest DOGE open interest and funding rate for perps:</p>
<p>Open Interest: Latest: 588169918.0  Average: 588140905.0</p>
<p>Funding Rate: -9.7483e-06</p>
<p><span class="font-semibold">Intraday series (3‑minute intervals, oldest → latest):</span></p>
<p>DOGE mid prices: [0.188, 0.188, 0.188, 0.188, 0.188, 0.189, 0.189, 0.189, 0.188, 0.188685]</p>
<p>EMA indicators (20‑period): [0.189, 0.189, 0.189, 0.189, 0.189, 0.189, 0.189, 0.189, 0.189, 0.189]</p>
<p>MACD indicators: [-0.0, -0.0, -0.0, -0.0, -0.0, -0.0, -0.0, -0.0, -0.0, -0.0]</p>
<p>RSI indicators (7‑Period): [25.053, 32.649, 27.838, 32.709, 48.049, 51.085, 51.556, 53.643, 48.744, 56.799]</p>
<p>RSI indicators (14‑Period): [32.363, 35.656, 33.119, 35.21, 42.473, 44.049, 44.284, 45.274, 43.606, 47.267]</p>
<p><span class="font-semibold">Longer‑term context (4‑hour timeframe):</span></p>
<p>20‑Period EMA: 0.196 vs. 50‑Period EMA: 0.197</p>
<p>3‑Period ATR: 0.002 vs. 14‑Period ATR: 0.002</p>
<p>Current Volume: 742421.0 vs. Average Volume: 78975874.856</p>
<p>MACD indicators: [0.001, -0.0, -0.0, -0.001, -0.001, -0.001, -0.001, -0.002, -0.002, -0.002]</p>
<p>RSI indicators (14‑Period): [42.269, 36.173, 35.608, 39.262, 42.675, 34.416, 44.809, 40.483, 42.899, 40.777]</p>
<h3 class="mb-2 mt-6 text-sm font-semibold text-black dark:text-zinc-400">HERE IS YOUR ACCOUNT INFORMATION &amp; PERFORMANCE</h3>
<p>Current Total Return (percent): 76.09%</p>
<p>Available Cash: 8433.73</p>
<p><span class="font-semibold">Current Account Value:</span> 17609.06</p>
<p>Current live positions &amp; performance:
{'symbol': 'ETH', 'quantity': 4.98, 'entry_price': 4001.1, 'current_price': 3895.25, 'liquidation_price': 3677.28, 'unrealized_pnl': -527.13, 'leverage': 10, 'exit_plan': {'profit_target': 4601.6675, 'stop_loss': 3801.3775, 'invalidation_condition': 'If the price closes below 3750 on a 3-minute candle'}, 'confidence': 0.65, 'risk_usd': 1000.0, 'sl_oid': 215275651124, 'tp_oid': 215275628610, 'wait_for_fill': False, 'entry_oid': 215275607872, 'notional_usd': 19398.35}
{'symbol': 'SOL', 'quantity': 124.64, 'entry_price': 192.8, 'current_price': 192.375, 'liquidation_price': 178.07, 'unrealized_pnl': -53.36, 'leverage': 10, 'exit_plan': {'profit_target': 211.985, 'stop_loss': 183.08, 'invalidation_condition': 'If the price closes below 180 on a 3-minute candle'}, 'confidence': 0.7, 'risk_usd': 1203.832, 'sl_oid': 215293048242, 'tp_oid': 215293015603, 'wait_for_fill': False, 'entry_oid': 215292992547, 'notional_usd': 23977.62}
{'symbol': 'XRP', 'quantity': 3609.0, 'entry_price': 2.44, 'current_price': 2.55145, 'liquidation_price': 2.26, 'unrealized_pnl': 384.9, 'leverage': 10, 'exit_plan': {'profit_target': 2.815, 'stop_loss': 2.325, 'invalidation_condition': 'If the price closes below 2.30 on a 3-minute candle'}, 'confidence': 0.65, 'risk_usd': 442.032, 'sl_oid': -1, 'tp_oid': -1, 'wait_for_fill': False, 'entry_oid': 211217736949, 'notional_usd': 9208.18}
{'symbol': 'BTC', 'quantity': 0.12, 'entry_price': 107343.0, 'current_price': 110086.5, 'liquidation_price': 98205.99, 'unrealized_pnl': 329.22, 'leverage': 10, 'exit_plan': {'invalidation_condition': 'If the price closes below 105000 on a 3-minute candle', 'profit_target': 118136.15, 'stop_loss': 102026.675}, 'confidence': 0.75, 'risk_usd': 619.2345, 'sl_oid': 206132736980, 'tp_oid': 206132723593, 'wait_for_fill': False, 'entry_oid': 206132712257, 'notional_usd': 13210.38}
{'symbol': 'DOGE', 'quantity': 27858.0, 'entry_price': 0.18, 'current_price': 0.188685, 'liquidation_price': 0.18, 'unrealized_pnl': 114.52, 'leverage': 10, 'exit_plan': {'invalidation_condition': 'If the price closes below 0.180 on a 3-minute candle', 'profit_target': 0.212275, 'stop_loss': 0.175355}, 'confidence': 0.65, 'risk_usd': 257.13, 'sl_oid': -1, 'tp_oid': -1, 'wait_for_fill': False, 'entry_oid': 204672918246, 'notional_usd': 5256.39}
{'symbol': 'BNB', 'quantity': 13.76, 'entry_price': 1084.99, 'current_price': 1115.85, 'liquidation_price': 1026.83, 'unrealized_pnl': 424.61, 'leverage': 10, 'exit_plan': {'profit_target': 1188.332, 'stop_loss': 1026.284, 'invalidation_condition': 'If the price closes below 1000 on a 3-minute candle'}, 'confidence': 0.65, 'risk_usd': 750.0, 'sl_oid': 215309797967, 'tp_oid': 215309752438, 'wait_for_fill': False, 'entry_oid': 215309737789, 'notional_usd': 15354.1}</p>
<p>Sharpe Ratio: 0.433</p></div>

      </div>
    </el-card>
  </div>
</template>

<script setup>
// 空白界面脚本
</script>

<style scoped>
.contract-container {
  padding: 20px;
}

.contract-card {
  min-height: 500px;
}

.card-header {
  font-size: 18px;
  font-weight: bold;
}

.contract-content {
  min-height: 400px;
}
</style>